<template>
  <div class="banner">
      <ul>
        <li v-for="(img,idx) of imgs" :key="idx">
            <img :src="img.src" alt="">
        </li>
      </ul>
  </div>
</template>

<script>
export default {
  name: 'Banner',
  props: {
    imgs:Array
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

ul {
  list-style-type: none;
  padding: 0;
}
li {
  display: inline-block;
  margin: 0 10px;
}
</style>
